<template>
  <div>
    <van-nav-bar title="当前城市--北京" left-text="✕" @click-left="onClickLeft" />
    <van-search v-model="value" background="#fff" placeholder="请输入搜索关键词" />
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const onClickLeft = () => history.back()
const value = ref('')
</script>

<style scoped>
.van-nav-bar >>> .van-nav-bar__text {
  color: black;
}
.van-search__field {
  color: #fff;
}
</style>
